package com.binyouwei.designpatterns.structural_type.bridge;

/**
 * @author 宾有为
 * @date 2024/7/8 20:28
 * @link https://blog.csdn.net/baidu_41616022?type=blog
 * @describe：
 **/
public class BridgeCircle extends BridgeShape{
    private int x, y, radius;

    protected BridgeCircle(int x, int y, int radius, DrawAPI drawAPI) {
        super(drawAPI);
        this.x = x;
        this.y = y;
        this.radius = radius;
    }

    @Override
    public void draw() {
        drawAPI.drawCircle(radius,x,y);
    }
}
